#include <iostream>
#include <string>
#include "NameManager.h"
#include "NameManager.cpp"

using namespace std;
typedef NameManager* namemanager;
struct link{
	int size;
	namemanager next;
};
int main(){
	namemanager temp;
	link namelist;
	namelist.next = NULL;
	namelist.size = 0;
	do{
	cout << "Name( Press enter to exit):"
	fflush(stdin);
	getline(cin, name);
	temp.add( name);
	namelist.next = temp;
	size++;
	}
	while(name != NULL)
}
